const required = (message = '该项必填', trigger = ['change', 'blur']) => {
  return {
    required: true,
    message,
    trigger
  }
}

export default { validator: required, name: 'required' }
